package com.txzt.gaea.common.base.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class BasePageEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /***********分页 ***********/

    private int limit = 20;

    private int offset = 1;

    public int getPageSize() {
        return this.limit;
    }

    public int getPageNumber() {
        return this.offset;
    }
}
